/**
 * The Gpslocation entity.
 *
 * @author    
 *
 *
 */
package vamp;
class Gpslocation {
    static mapping = {
         table 'gpslocation'
         // version is set to false, because this isn't available by default for legacy databases
         version false
         id generator:'identity', column:'idgpslocation'
    }
    double latitude
    double longitude
    double degree
    double minute
    double second

    static constraints = {
        latitude()
        longitude()
        degree(nullable: true)
        minute(nullable: true)
        second(nullable: true)
    }
    String toString() {
        return "${id}"
    }
}
